/**
 * @description: 过滤数字枚举key为数字的方法
 */
export const filterNumberEnum = (data: Record<string, string | number>) => {
  const filterNumberEnum = new Map<number, string>();
  for (const key in data) {
    if (isNaN(Number(key))) {
      filterNumberEnum.set(data[key] as number, key);
    }
  }
  return filterNumberEnum;
};
